package com.example.figurehecheng.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 餐厅标签关联表
 * </p>
 *
 * @author author
 * @since 2025-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("restaurant_tag")
@ApiModel(value="RestaurantTag对象", description="餐厅标签关联表")
public class RestaurantTag implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "餐厅ID")
    @TableId(value = "restaurant_id", type = IdType.AUTO)
    private Long restaurantId;

    @ApiModelProperty(value = "标签名称")
    @TableField("tag_name")
    private String tagName;


}
